package com.wzh.store.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzh.store.entity.District;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author wzh
 * @create 2022/4/22 21:18
 * @Description：
 */
@Repository
public interface DistrictMapper extends BaseMapper<District> {
    List<District> findByParent(String parent);

    String findNameByCode(String code);

}
